package dockyin.action.pattern.strategy;


public class Multiply extends AbstractCalculator implements ICalculator {
    @Override
    public int calculate(String exp) {
        int[] params = split(exp, "\\*");
        return params[0] * params[1];
    }
}
